package com.ysd.lis.entity.bac;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntry3;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author bai
 * @since 2024-04-10
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
@TableName(value = "BAC_CUL_COMBINA", autoResultMap = true)
public class BacCultureCombination extends BaseEntry3<BacCultureCombination> {

    private static final long serialVersionUID = 1L;

    /**
     * 组合代码
     */
    @TableField("CUL_COMBINA_NO")
    private String code;

    /**
     * 组合名称
     */
    @TableField("CUL_COMBINA_NA")
    private String name;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 类别
     */
    @TableField("TYPE")
    private String type;

    /**
     * 录入码
     */
    @TableField("INPUT_CODE")
    private String inputCode;

    /**
     * 序号
     */
    @TableField("SEQ")
    private String orderNum;

    /**
     * 标签数
     */
    @TableField("TAGS_NUM")
    private String tagsNum;


    @TableField(exist = false)
    private String searchValue;

    @TableField(exist = false)
    private List<BacCultureCombinaRel> cultureRelList;

    @Override
    protected Serializable pkVal() {
        return getId();
    }
}
